﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace SnipMe.Model
{
    public class CodeSnippet
    {
        [Required(ErrorMessage = "Id field is required.")]
        public int Id { get; set; }
        [Required(ErrorMessage = "Body field is required.")]
        public string Body { get; set; }
    }
}
